package com.zoer.domain;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * Enterprise entity. @author MyEclipse Persistence Tools
 */

public class Enterprise  implements java.io.Serializable {


    // Fields    

     private String qiyeid;
     private String qiyename;
     private String address;
     private String zipcode;
     private String complaintphone;
     private String fax;
     private String consultphone;
     private String netaddr;
     private Set drugs = new HashSet(0);


    // Constructors

    /** default constructor */
    public Enterprise() {
    }

	/** minimal constructor */
    public Enterprise(String qiyeid, String qiyename) {
        this.qiyeid = qiyeid;
        this.qiyename = qiyename;
    }
    
    /** full constructor */
    public Enterprise(String qiyeid, String qiyename, String address, String zipcode, String complaintphone, String fax, String consultphone, String netaddr, Set drugs) {
        this.qiyeid = qiyeid;
        this.qiyename = qiyename;
        this.address = address;
        this.zipcode = zipcode;
        this.complaintphone = complaintphone;
        this.fax = fax;
        this.consultphone = consultphone;
        this.netaddr = netaddr;
        this.drugs = drugs;
    }

   
    // Property accessors

    public String getQiyeid() {
        return this.qiyeid;
    }
    
    public void setQiyeid(String qiyeid) {
        this.qiyeid = qiyeid;
    }

    public String getQiyename() {
        return this.qiyename;
    }
    
    public void setQiyename(String qiyename) {
        this.qiyename = qiyename;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipcode() {
        return this.zipcode;
    }
    
    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getComplaintphone() {
        return this.complaintphone;
    }
    
    public void setComplaintphone(String complaintphone) {
        this.complaintphone = complaintphone;
    }

    public String getFax() {
        return this.fax;
    }
    
    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getConsultphone() {
        return this.consultphone;
    }
    
    public void setConsultphone(String consultphone) {
        this.consultphone = consultphone;
    }

    public String getNetaddr() {
        return this.netaddr;
    }
    
    public void setNetaddr(String netaddr) {
        this.netaddr = netaddr;
    }

    public Set getDrugs() {
        return this.drugs;
    }
    
    public void setDrugs(Set drugs) {
        this.drugs = drugs;
    }
   








}